{include file="header.tpl" }
{literal}
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
{/literal}
<img src='{#t_images#}navi.gif' border=0 alt="">{$nav_link}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<table width="98%" border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td width="170" height="50%" valign="top">{include file="left.tpl"}<!-- left start --></td>
<!-- left end -->
<td valign="top">
  {if $code eq "24"}
  <table width="100%"  border="0">
    <tr>
      <td width="35"><img src="{#t_images#}icon02_1112.gif" width="32" height="32"></td>
      <td width="60"><strong>小提示：</strong></td>
      <td>1.此处的分类为商家自定义，与系统分类不冲突。</td>
    </tr>
    <tr>
      <td height="15" colspan="2">&nbsp;</td>
      <td>2.此处定义的分类显示在商家某一店铺个性主页的左下。</td>
    </tr>
  </table>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <tr class='f_one'>
                        <td width="188">分类编号</td>
                        <td width="201">分类名</td>
                        <td width="265">所作用的商铺</td>
                        <td width="434">&nbsp;</td>
                      </tr>
                    {section name=key loop=$cd}
                    <tr class='f_one'>
                      <td>{$cd[key][0]}</td>
                      <td>{$cd[key][1]} </td>
                      <td width="265">{$cd[key][2]} </td>
                      <td width="434"><div align="center"><a href="index.php?act=Diyc&code=26&CID={$cd[key][0]}">修改</a> | <a href="index.php?act=Diyc&code=35&CID={$cd[key][0]}" onclick="return confirmDel('是否删除自定义分类?')">删除</a></div></td>
                    </tr>
                    {/section}
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">新建分类名：</td>
                          <td width="412"><input name="cc[title]" type="text" id="cc[title]"></td>
                        </tr>
                        <tr class='f_one'>
                          <td>新建类归到的商铺：</td>
                          <td width="412"><select name=cc[shop_id] >
                                                                    
                {html_options values=$shop_id  output=$shop_name}            
                            
                          </select></td>
                        </tr>
                        <tr class='f_one'>
                          <td>
                            <input name="submit" type="submit" class="form" id="submit2" value="  建 立  "></td>
                          <td width="412">
                            <input name="code" type="hidden" id="code3" value="25"></td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {elseif $code eq '26'}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">分类名：</td>
                          <td width="412"><input name="cc[title]" type="text" id="cc[title]" value="{$cc.title}"></td>
                        </tr>
                        <tr class='f_one'>
                          <td>建类归到的商铺：</td>
                          <td width="412"><select name=cc[shop_id] >
                              
                                                                    
                {html_options values=$shop_id selected=$cc.shop_id output=$shop_name}            
                            
                          
                            </select>
                          修改后其下的所有商品也会自动自定义更新分类</td>
                        </tr>
                        <tr class='f_one'>
                          <td>
                            <input name="submit2222" type="submit" class="form" id="submit2223" value="  建 立  "></td>
                          <td width="412">
                            <input name="code" type="hidden" id="code6" value="27">
                            <input name="CID" type="hidden" id="CID" value="{$cc.id}"></td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {else}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr class="head">
                  <td height="51"><img src="{#t_images#}hint.gif" width="32" height="32">欢迎登陆<b><A href="">{$html_title}</A></b>，请在左边选择您的操作</td>
                </tr>
                <tr>
                  <td height="113" valign="top"><br>
                  您上次登陆时间是：{$seller.seller_last_time|date_format:"%Y-%m-%d"}<br>
                  <br>
                  {$prop}<br>
                  <br>
                  {if not $notice} 您目前开了<font color="#FF0000">{$snum}</font>个商铺，共登陆<font color="#FF0000">{$gnum}</font>件商品，点击[<a href="index.php?act=Seller&code=16"><font color="#FF0000">这里</font></a>]管理商品。<br>
                                    <br>
                  您目前有<font color="#FF0000">{$mnum}</font>条新的留言未回复，点击[<a href="index.php?act=Seller&code=16"><font color="#FF0000">这里</font></a>]回复消息<br>
                  <br>
                  同时，我们还为您准备了个性域名为“<a href="http://{$seller.seller_logaccount}.{$domain}/" title="点击进入商家的个人主页(此个人主页列出商家所有店铺信息！)" target='_blank'><font color="#FF0000">http://{$seller.seller_logaccount}.{$domain}/</font></a>”便于推广您的商业{else} {$notice}{/if}</td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {/if}<br></td><!-- right end -->
</tr>
</table><table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Info.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
</td></tr></table>
{include file="footer.tpl"}